#ifndef MARKEDSCROLLBAR_H
#define MARKEDSCROLLBAR_H

#include <QScrollBar>

class MarkedScrollBar : public QScrollBar
{
	Q_OBJECT
public:
	explicit MarkedScrollBar(QWidget *parent = 0);
	explicit MarkedScrollBar(Qt::Orientation o, QWidget *parent = 0);

	void setBg(QImage bg);
	QRect drawableRect();
	
signals:
	
public slots:

protected:
	void paintEvent(QPaintEvent *e);
	QImage bg;
};

#endif // MARKEDSCROLLBAR_H
